package de.tum.se.sudoku.gui;

import javax.swing.JComboBox;

import de.tum.se.sudoku.impl.Grid;

public class SudokuComboBox extends JComboBox<Integer> {
	private static final long serialVersionUID = 1L;

	public SudokuComboBox(int row, int col, Grid grid) {
		super();

		for (int i = 0; i < 10; ++i)
			addItem(i);

		addActionListener(new SudokuComboBoxListener(grid, row, col));

		setVisible(true);
	}
}
